<script setup>
let my_color = "color: red"
let my_decoration = {
    textDecoration: "underline"
}

</script>

<template>
<div style="color: red; text-decoration: underline;">Hello, World!</div>
<!-- 使用数组语法进行赋值 -->
<div v-bind:style="[my_color, my_decoration]">Hello, World!</div>
</template>

<style scoped></style>
